//
//  MACDefines.h
//  测试
//
//  Created by 李李善 on 2018/7/4.
//  Copyright © 2018年 李李善. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#ifndef MACDefines_h
#define MACDefines_h


//0 内网
//1 外网
//2 测试

/**
 appstore打包前注意：
 1，将build版本末尾号加1，
 2，检查infoPlist的CFBundleDisplayName是否为“项目的名称”，
 3，检查bundleId是否为“com.xxxxxxx”
 4，注释#define NSLog(...)
 5，设置蒲公英链接
 */

/************************
 SETTING--->setting(设置)
 *************************/


#ifndef BaseClass
#define BaseClass 1
#endif

#undef BaseClass
#define BaseClass 0




#ifndef SETTING
#define SETTING 1
#endif

#undef SETTING
#define SETTING 2

#if SETTING == 0
//内网
static NSString *host =@"http://183.62.45.130:8889";//域名
static NSString *imageHost= @"http://183.62.45.130:8889";//图片域名
static NSString *kHuanXingPushName= @"development";//环信证书名
#define NSLog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__)

#elif SETTING == 1
//阿里云
#define NSLog(...)
static NSString *host =@"http://183.62.45.130:8889";//域名
static NSString *imageHost= @"http://183.62.45.130:8889";//图片域名
static NSString *kHuanXingPushName= @"production";//环信证书名
//#define NSLog(...)
#elif SETTING == 2
//#else
//外网，正式上线的地址
//#define NSLog(...)
static NSString *host =@"http://183.62.45.130:8889";//域名
static NSString *imageHost= @"http://183.62.45.130:8889";//图片域名
static NSString *kHuanXingPushName= @"production";//环信证书名
#endif


//#define HOST @"http://www.myxiuxiu.com/app/"
//#define IMAGEHOST @"http://120.76.191.98:8080/"

//环信App_key
static NSString *const KHuanXingKey  = @"1108180518253765#oa";
//微信Scheme
static NSString *const KWxpayScheme  = @"wxbcc1175e6a7b0298";




//极光App_key
static NSString *const KJGKey  =@"4074b75ec928d6ee0f4606d1";

// 图片地址默认域名（又拍云）
static NSString *yunHost =@"http://jiangzhe.test.upcdn.net/";
//高德App_key
static NSString *const KGaoDe_key    = @"a2fbe071a77931d192d8b6e8dce24e42";
//签名-
static NSString *const KSign_key    = @"c35309097dff";
static NSString *const Ksign_sec    = @"d3c2c437b4a64f7fa12f049b48961ca0";
//AES128 aes_key aes_iv
static NSString *const KAes_key    = @"quke201712010000";
static NSString *const KAes_iv     = @"0000000000000000";




//时间戳
static NSString *const KInterval    = @"interval";
//登陆
static NSString *const KUsername     = @"username";
static NSString *const KPassword     = @"password";
static NSString *const kCode         = @"code";
static NSString *const kErrorCode    = @"errorCode";
static NSString *const kMessage      = @"message";

static NSString *const kResult       = @"result";
static NSString *const kStatus       = @"status";
static NSString *const kData         = @"data";
static NSString *const kInfo         = @"info";
static NSString *const kLoginId      = @"loginId";
static NSString *const kPassword     = @"password";
static NSString *const kOldPassword  = @"oldPassword";
static NSString *const kSmsCode      = @"smsCode";
static NSString *const kToken        = @"token";
static NSString *const kPageNo       = @"page";
static NSString *const kPageSize     = @"pageSize";
static NSString *const kUserId       = @"user_id";
/** < 单元格名称 > */
static NSString *const cell           = @"cell";
static NSString *const cell0          = @"cell0";
static NSString *const cell1          = @"cell1";
static NSString *const cell2          = @"cell2";
static NSString *const cell3          = @"cell3";
static NSString *const cell4          = @"cell4";
static NSString *const cell5          = @"cell5";
static NSString *const cell6          = @"cell6";
static NSString *const cell7          = @"cell7";
static NSString *const cell8          = @"cell8";
static NSString *const cell9          = @"cell9";
static NSString *const cell10         = @"cell10";
static NSString *const cell11         = @"cell11";
static NSString *const cell12         = @"cell12";
static NSString *const cell13         = @"cell13";
static NSString *const cell14         = @"cell14";
static NSString *const cell15         = @"cell15";

/** < 区头名称 > */
static NSString *const header         = @"header";
static NSString *const header0        = @"header0";
static NSString *const header1        = @"header1";
static NSString *const header2        = @"header2";
static NSString *const header3        = @"header3";
static NSString *const header4        = @"header4";

/** < 区尾名称 > */
static NSString *const foodter        = @"foodter";
static NSString *const foodter0       = @"foodter0";
static NSString *const foodter1       = @"foodter1";
static NSString *const foodter2       = @"foodter2";
static NSString *const foodter3       = @"foodter3";
static NSString *const foodter4       = @"foodter4";

#endif /* MACDefines_h */
